![]() |
Documentation for Users
2.0.2
Perception Toolbox for Virtual Reality (PTVR) Manual
|
General Goal : you want to create and place in the GLOBAL coordinate system (aka World coordinate system) an object whose position is defined by its three perimetric coordinates (eccentricity, half-meridian, radial distance).
Specific Goal : You want to create and place a small sphere at the position of the orange point P in Figure 1.
The perimetric coordinates of point P in the figures below are :
PTVR fonction to use:
Apply the set_perimetric_coordinates() fonction to the already created object "my_sphere" as below:
![]() | ![]() |
Figure 1: How to display the orange point P in the 3D perimetric coordinate system of PTVR. | Figure 2: Same as figure 1 with a horizontal rotation to allow a better representation of the 3D structure of the figure. |
Python file | Description |
---|---|
2_create_object_in_perimetric_coord.py | Create an object and place it in the 3D global space with perimetric coordinates. |